import { useSearchParams } from "react-router-dom";
const About = () => {
  let [params] = useSearchParams();
  let id = params.get("id");
  console.log(id);
  return (
    <div>
      this is About
      <div>参数：{id}</div>
    </div>
  );
};

export default About;
